package com.xyh.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * TODO
 *
 * @author 丁德成
 * @explain
 * @date 2023/4/12
 */
@Data
@ApiModel(value = "接收学生的请求参数")
public class StudentVo {
    @ApiModelProperty(value = "学生姓名")
    private String sname;

    @ApiModelProperty(value = "最早入学")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date earlyDate;

    @ApiModelProperty(value = "最晚入学")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastDate;
}
